const startExamBtn = document.getElementById('startExamBtn');
const viewScoresBtn = document.getElementById('viewScoresBtn');
const logoutBtn = document.getElementById('logoutBtn');
const examContent = document.getElementById('examContent');
const scoresContent = document.getElementById('scoresContent');

startExamBtn.addEventListener('click', () => {
    examContent.classList.remove('hidden');
    scoresContent.classList.add('hidden');
    // 进入考试页面的逻辑
});

viewScoresBtn.addEventListener('click', () => {
    examContent.classList.add('hidden');
    scoresContent.classList.remove('hidden');
    // 查看成绩的逻辑
});

logoutBtn.addEventListener('click', () => {
    // 退出账号的逻辑
});
